Use resque for background scanning tasks