Makes ApplicationEventsResolver IDisposable so we can clear resources after startup.