Fixed a longstanding issue that would cause crashes while deleting torrents on slow networks.