Disconnect the events manually