deleted timer disposer and using shutdown hook