code: async def disconnect(self, code):
          
          try:
              await asyncio.wait(
                  self.application_futures.values(),
                  return_when=asyncio.ALL_COMPLETED,
                  timeout=self.application_close_timeout
              )
          except asyncio.TimeoutError:
              pass
docs: default is to wait for the child applications to close.