Set daemon on thread so it closes when timer is closed