code: def close(self):
          
          self._execute_plugin_hooks_sync(hook='close')
  
          if not self.session.closed:
              ensure_future(self.session.close(), loop=self.loop)
docs: Close service client and its plugins.