github: add network error-handling