gold futures close near $380 an ounce