Added sleep statements to prevent pacing violations.