Taskmanager: clean-up of configuration removes datastore which still contains layers
Description
When removing a configuration with clean-up, taskmanager should only remove the layer of the configuration and not the entire datastore with all of its layers.
When removing a configuration with clean-up, taskmanager should only remove the layer of the configuration and not the entire datastore with all of its layers.