Lagging and dropping connections

I am not aware yet if this is happening on production account, however I get this errors when working on paper account:
01/30/2020 09:58:09 AM DEBUG: h_t_tps://paper-api.alpaca.markets:443 “GET /v2/orders/325ddffe-898c-47cc-ac49-566f00262183 HTTP/1.1” 200 695
01/30/2020 10:01:00 AM DEBUG: Resetting dropped connection: paper-api.alpaca.markets

You can see, that because of this lag I am loosing 3 seconds, when actually orders comes from my code. As a result, order does not go through because of this lag.

Another one is this:
01/30/2020 09:58:06 AM WARNING: sleep 3 seconds and retrying h_t_tps://paper-api.alpaca.markets/v2/orders/325ddffe-898c-47cc-ac49-566f00262183 3 more time(s)…
01/30/2020 09:58:09 AM DEBUG: https://paper-api.alpaca.markets:443 “GET /v2/orders/325ddffe-898c-47cc-ac49-566f00262183 HTTP/1.1” 200 695

Same thing - 3 seconds gap.
What is this and how to manage this properly. Any ideas?
Thank you

looks like you might have a 3 sec sleep timer

This does not come from my code. It comes from Alpaca server. I will check on ping rate (request freq. limits) in documentation to make sure I am not exceeding it.

I got the answer from API Docs:

Rate Limit#

There is a rate limit for the API requests. When it is exceeded, the API server returns error response with HTTP status code 429. The rate limit is 200 requests per every minute per API key.

Thanks all.