Add synchronized block to DataGenerator#getData() method and replace cloning by creation of new LinkedList