Update Timer.swift

Fixed breaking issue with non-repeating Timers not getting properly retained. :smile: