fix endless event_loop if suspend time > refresh time