withMinTime - sleep if code executed shorter than x milliseconds (also in case of exception)