Fixed Threading.Timer scope

Threading.Timer is not getting garbage collected anymore.