added support for unschedule and unschedule_for