Fix conn close bug, add sentinel setting command