async def get_nats() -> NATS:
    if (not nw.nc.is_connected):
        loop = asyncio.get_event_loop()
        (await nw.connect(loop))
    return nw.nc
async def get_nats() -> NATS:
    if (not nw.nc.is_connected):
        loop = asyncio.get_event_loop()
        (await nw.connect(loop))
    return nw.nc