-50400 error description.
The transfer did not complete within the timeout period or within the specified number of retries.
What happened: The node didn't receive all of the 1000 elements within the timeout specified (50000 ms), thus returning this error.
Possible solutions:
1. Make time out larger;
2. Reduce the number of requested elements;
3. Ask the number of available elements before reading the elements.
Hope this will be of help.
A lot of the time the solution can be derived from the error description, sometimes it can't. In this case you could have.
Regards,
André (CLA, CLED)