close all windows when tests end