Fixed job killing on remote hosts