fixing killall termination behviour issue