Handle connection errors to api.github.com.