Error: Connection reset by peer

This error occurs when I send multiple requests to retrieve a list of sessions. Does this mean that the request is automatically blocked by security feature? How can i send multiple requests without receiving this error?