Adding unref() call to the timer