Make timers threadsafe
Implement setInterval and clearInterval