1. In socket_connected(): if the select() fails because it is interrupted