[Issue #269] Fixing crash caused by Manager deinit