Added automated reschedule of locked tasks