httpClient Selector Manager Threads

Not just anywhere. At the "top" level, outside any function or class. That makes client a persistent global in that script.

Don't import Ignition script modules. Ever. Not in any form. This can create subtle bugs. Just use the full name utilities.client wherever you need it.