Wait for a key pressed on finishing for Windows only