[tor-commits] [tor/master] periodic: Add an enable and disable function