workaround for windows to ensure console.log is always flushed before process.exit