Additionally add "network unreachable" as an expected error message.
(cherry picked from commit 9ef4d2b5)
See #3220