ooiion-1313 test_alerts test hangs when interacting with a simulator that sleeps.

 Fix bad timer update.

@jamie_cyber1 please review