added auto reconnect true