@ultrapoci and @deltaeecs, I had a similar problem and solved it using multithreading. See the old thread for an MWE: