support errors of stopping connection