Close active session if client is specified
Join session instead of creating a new one