432270 - Slow requests with response content delimited by EOF fail.

Fixed by using a flag to determine the need to close the connection,
and by closing the connection only at exchange termination.
Made the test more reliable.
Fixed timeout value left over during debugging.