Fix crash on Mac and Linux due to network inaccessbility