I was playing and I noticed the only thing that needed Sodium Hydroxide is Alumina. Alumina is only used in a small list of recipes
-Polishing compound
-Aluminium plate
---Assembling machine 4
---Beacon MK2
---Construction robot MK2
---Logistic robot MK2
---Module case
---Power armor MK3
---Pumpjack MK3
---Rifle
---Roboport antenna array MK2
---Modular Roboports 2
---Substation MK2
---Rocket body
So until you mass produce some of these things your factory can come to a stop.