Changed and fixed logic behind sending data, and created case when server error 413 (too much info is sent), now we try to send data in smaller numbers.