enable auto_reconnect