Use time.monotonic when available