make sure child processes is dead before running next test