[IPTorrents] Code cleanup