set erlang halt for stop