etcdmain: do not exit inappropriately