Added removeAllListeners in  event in controller view0 to stop socket.io listeners