Removed useless code.

Doesn't make much sense to wait for a ECONNRESET in order to work
properly.