Move thread_reportin() call to poll function