make call to read time in logs thread-safe.