It would be good to get this event handler disconnected in the `QueryClose` method. For that to happen, you're going to need to promote `solutionEvents` to a field (`_solutionEvents`).