Implemented inheritance of IDisposable in Daemon class