handle stopProcessGroup error.