minTime - sleep if code executed shorter than x milliseconds