only spin waiting if we don't sleep afterwards