def close_sessions(self):
if self._session_management != MANDATORY:<EOL><INDENT>self._provider_sessions = dict()<EOL><DEDENT>else:<EOL><INDENT>raise IllegalState()<EOL><DEDENT>
Close all sessions currently being managed by this Manager to save memory.