Guard against stopping iis twice.