Diagnose the ABS using the Subaru Select Monitor.
Is DTC 47 displayed?
Check the ABS system.
Repair the poor contact of ECM connector. Replace the ECM if defective.