Fixed crash on unreachable network