r11629: fixed a bug found with the socket:testnonblock code. With randomised