Workaround to solve bug in librdkafka.