remove usleep call in logger.c