kill conn on error only if configured so