closeSession

Closes the current session if there is one open.