Solder mask drying for wafer