i want to use another thread to aviod the block the gui of the main thread. but found the qnncontext's inference in another thread is slower than it in main thread.