using 'sudo halt' as shutdown cmd