Motorola closing its Texas factory