[win] delay process.exit when running on windows

This is super hacky but it might be worth including so we can focus on the other tests, and then circle back.
This does not preserve the exit code (which is important).