Add reconnect to connection example