don't try to read from closing (SOCKET_FLAG_QUIT) sockets