Some reformulation
Polling api at least every 500ms