[GX] change usleep to timed cond wait in device thread