fix regression causing intermitent socket error.

The bug raises ResponseNotReady.