Add a new method to muxes, destroy(), that is responsible for destroying the mux and the associated connection, to be used for server connections.