Implement IDisposable on manager and stop connection when disposing.