added dispose methods to Peer and PeerListener