`if(null !== $delay){` 0 is a valid delay value