Remove all requirements for threading, use a coroutine instead.