Fix Kafka producer bug introudced in EMQX Enterprise 5.8.0. Kafka producer may crash in case it has failed to fetch metadata at initialization stage.