Added the ability to remove socket listeners when the scope is destroyed