Fix short network reads.