code: async def clear(self):
          
          for session in list(self.values()):
              if session.state != STATE_CLOSED:
                  await session._remote_closed()
  
          self.sessions.clear()
          super(SessionManager, self).clear()
docs: Manually expire all sessions in the pool.