Added a delay in accessing HTTP API