close window after downloading torrents