leave/stop channel implemented and on close methods implemented