Removes the scheduler for this plugin and cancels all associated tasks.
This should typically be called when the plugin is being disabled.
the Scheduler instance that was removed, or null if it didn't exist