If you declare an instance of the api in one thread (like the form thread) and access in another thread, that may be enough to break the app if the api isn't thread safe.