Use a loop in a thread since is more performant.

The CPU consumption is the following:
LoopingCall(worker)   -> ~10% (every 0.01)
LoopingCall(worker)   -> ~5% (every 0.05)
deferToThread(worker) -> ~4% (loop, sleep 0.01)