Modify the method used to disconnect channels