TCP performance

Return if expected length of reply is reached