stop zombie processes being left behind as this was not allowing the processes to exit