Fixes issue with deadlocking server discovery on windows.

It turns out windows blocks until a process is finished when
you try to close the stderr handle, but not stdout.  Therefore,
we leave stderr open when we shut down, which lets the server
continue to run on windows.

Review by @havocp cc @eed3si9n