Exhaust read buffer before polling the socket for more data.