docs: def cleanup(self):
          """
          Performs clean-up after task is completed before it is executed again
          in the next internal.
          """
          # Closes connections to all databases to avoid the long running process
          # from holding connections indefinitely.
          for alias in db.connections.databases:
              logger.info('Closing database connection: %s', alias)
              db.connections[alias].close()