Properly defunct connections after protocol errors