Check for detached tmux sessions and attach to it, or start new session if none are found