add null checking for m_timers, in pause/resumeAllTimers
(cherry picked from commit cf129da06c75c4a3fbdd579020cd64586496210b)