Added (broken) threaded timer implementation