make isodate thread-safe