extracted sleepForTimestampResolution in steps