[coverity] Fixed incorrect scheme-handler unloading

Also removed unused bool m_enabled variable