Merge pull request #1236 from cilynx/fix/spindle_off_on_halt