Move the stop_cmd to a constant, used twice