Set timer as deamon, so it will not block the restart or key interrupt in main thread.