Adding a halt command. Needs tuning
Adding a halt command. Needs tuning.