Changing queue drain on shutdown to account for recent recorder batch changes. There's now a config option to disable it entirely. Prism checks its enabled status before registering new recorder/purge tasks so we can avoid ugly errors.