The company is also closing its e-commerce fulfillment center in San Bernardino, Calif.