'Called when the worker starts.
Automatically discovers any ``tasks.py`` files in the applications
listed in ``INSTALLED_APPS``.'

def on_worker_init(self):

    self.import_default_modules()
    self.close_database()
    self.close_cache()
