Corrected issue removing a killed connection and counter