Alan, what do you think about replacing amqp_open_socket with amqp_open_socket_noblock?