PortalKit: try to fix connection refused error sometimes happen at launch time, but not sure