Use Posix.kill to kill launched application.