Function removeAllListeners