Feature: Prints which partner of the connection closed it. Some refactorings necessary for this.