Closed chat session now correctly removed from list of active sessions.