[extractor] add timeout for case in which the triplestore take too much time to respond