add shutdown() for torrent checking.