Make the sleep time configurable