Is it possible to set up tabs to close automatically after starting a new one

Thanks