Close mongoclient on Disable plugin