Don't allow sleep to be 0