Better logic to save resume torrent in BTEngine.