Optimization - setUniqueTimestamp was waiting for timestamp to change causing many small pauses