added conditional killing of autossh pid file