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

Fix indent that kept timeout from working.

@jamie_cyber1 please review