Fixed "Invalid argument supplied for foreach()" when the pool is start and no process was added previously