deprecate delete connection on error: https://github.com/cityindex/labs.cityindex.com/issues/116