fix state of torrent updated in the background