Implement "retry-once" semantics for MOSQ_ERR_NO_CONN