fix a problem with restarting sshd