wait 0.5 seconds for each API call