CHDStop: Minor Code Improvements in case of network error