Make sure bytes are read from the socket