ENH:close window when finish evaluate