code: def shutdown(self, timeout=None):
          
          try:
              shutdown_method = self._proxied_manager.shutdown
          except AttributeError:
              return
          shutdown_method(timeout)
docs: Optional.