Use signal handler to keep ssh process from orphan