Made now_us() thread safe