Instead of doing this, why not teach your job to work in smaller chunks, does it really need to take 4 hours? Sync 10 topics, then another 10 … and so on.
Sidekiq has nothing that will terminate long running jobs, rebuilds of the app will do that and even upgrades via the web ui.