Cleans up resources and closes all connections. Must be called when the ViewModel is no longer needed to prevent memory leaks. This method closes all channel connections to the NavigationManager.
Initializes minimap when its becomes available.