Currently, we can only close tabs one at a time or choose to close all of the inactive tabs.
I suggest we should be able to right-click on any tab and close the inactive tabs related to that particular project or family.
This would save a lot of time in managing tabs 😉