docs: async def on_shutdown(app):
      """app SHUTDOWN event handler
      """
      for method in app.get("close_methods", []):
          logger.debug("Calling < %s >", method)
          if asyncio.iscoroutinefunction(method):
              await method()
          else:
              method()