fix: while reconnecting, old listening events wasn't cleared