Limit spawning by max attempted spawns instead of max spawns

Signed-off-by: Ross Allan <rallanpcl@gmail.com>