Windows: Handle race condition when creating new server