$config = array_merge($config, $_config);
     $tms_match = $tms->get($config);
     //MyMemory can return null if an error occurs (e.g http response code is 404, 410, 500, 503, etc.. )
     if ($tms_match !== null) {
         $tms_match = $tms_match->get_matches_as_array();
     } else {
         _TimeStampMsg("--- (child {$my_pid}) : error from mymemory : set error and continue");
         // ERROR FROM MYMEMORY
         setSegmentTranslationError($sid, $jid);
         // devo settarli come done e lasciare il vecchio livello di match
         $amqHandlerSubscriber->tryToCloseProject($pid, $my_pid);
         $amqHandlerSubscriber->ack($msg);
         //set/increment the reQueue number
         $objQueue['reQueueNum'] = @++$objQueue['reQueueNum'];
         $amqHandlerPublisher = new Analysis_QueueHandler();
         $amqHandlerPublisher->reQueue($objQueue);
         $amqHandlerPublisher->disconnect();
         continue;
     }
 }
 /**
  * Call External MT engine if it is a custom one ( mt not requested from MyMemory )
  */
 if ($id_mt_engine > 1) {
     $mt = Engine::getInstance($id_mt_engine);
     $config = $mt->getConfigStruct();
     $config = array_merge($config, $_config);
     $mt_result = $mt->get($config);
     if (isset($mt_result['error']['code'])) {
         $mt_result = false;
     }