The C client previously set a very short read timeout because it was required by the plugin. To compensate for this on the client side, we would try to read several times in a loop. Since the plugin no longer uses the C client for networking, we can do away with the loops and set a proper timeout.