move refcount test to qthread
this silences a warning about qsocketnotifier only being usable from native QThreads.
QSocketNotifier: Can only be used with threads started with QThread
this silences a warning about qsocketnotifier only being usable from native QThreads.
QSocketNotifier: Can only be used with threads started with QThread