Clean up Connection and Protocol relationship.