What happened to foreign outsourcing when firms went online