fixed connection error dialog appearance on service shutdown