Fix long wait when proxy is set in desktop app