Fixed a bug that caused attempts to create already existing pods multiple times.