For some platform with low performance, the eos event here is later than previous call of wait_next_time() on eos, it will wait in that thread, so wait here will cause completion, need signal that thread first