Added a safety-check on a memory allocation. (Timers were using