RemoteTorrentHandler shutdown fix