PLAT-4706 - Ensure tool exits if an exception bubbles up