async def METHOD_NAME():
    from nomad.parsing.parsers import import_all_parsers
    import_all_parsers()
    from nomad import infrastructure
    # each subprocess is supposed disconnect and
    # connect again: https://jira.mongodb.org/browse/PYTHON-2090
    try:
        from mongoengine import disconnect
        disconnect()
    except Exception:
        pass
    from nomad.cli.dev import get_gui_artifacts_js
    GuiFiles.gui_artifacts_data = get_gui_artifacts_js()
    from nomad.cli.dev import get_gui_config
    GuiFiles.gui_env_data = get_gui_config()
    infrastructure.setup()