Do not shut down group if on-going import

Do not shut it down when removing the group from the display
when there is an on-going import in that group.
Remove group only if no on-going import
Merge pull request #2227 from jburel/remove-group-during-import

Remove group during import