improve timer and shorten close interupt time