restart command and auto-restart on disconnect