and while at it, why don't we make the sleep time configurable and default to 10 seconds?