Added -t to kill java process ssh command.