added event leanup before reinitializing the reader