Fixed instances where Zombie processes were generated