Do not try to close the last window