added assert that socket.timeout is not occurring (only socket.error)