add a simple throttle by sleeping