disable timer before shutdown