Specify chunksize in openSocketConnection. Change default chunksize to 8192.