def checkFunc(): # need to poll manually or the callback's never called from the pool poll(tpool) return self.done