loop forever and timer to all threads