Need to call exit after halt.