automatically exit ssh when detaching tmux