Fixed bug in threaded periodic callback