Description
Refactoring I did in the source connector 1.9.0 introduced a resource leak: if MongoSourceTask.start fails, then neither StatisticsManager, nor MongoCopyDataManager, nor, most importantly, MongoClient get closed. Not only this causes the leak on the connector-side, but also on the server-side, as MongoClient keeps maintaining/re-creating monitoring connections (at the very least) with the server.