Refactor WhatTorrent refreshing in utils and add management command.