don't use restart timer when debug = true