Use plain Thread instead of QThread.

The use of QThread caused ZMQ communication issues on OSX. Possibly
because of not getting cycles to do work.