Cleaning up tmux duplicate session check.