Cleanup of session.