fix kafka sleep