Implemented halt command