Added draining for N>W on tcp streams.