socket-default: Make sure sockets are open when checking with FD_ISSET