rewrite of SafeTimer as a wrapper class for a real Timer, instead of an extension to Timer