Prevent duplicate application instances from being started in windows.