US food giant Heinz has decided to close a condiments and sauces factory in Texas.