add delay when check if kafka is up