@Override
	public void handlePeerDisconnected(SharingPeer peer) {
		if (this.connected.remove(peer.hasPeerId()
					? peer.getHexPeerId()
					: peer.getHostIdentifier()) != null) {
			logger.debug("Peer " + peer + " disconnected, [" +
					this.connected.size() + "/" +
					this.peers.size() + "].");
		}

		peer.reset();
	}