The correct check was that the remaining delay is strictly more than 0, and added a max for good measure.