Fix httpc crash on keep_alive_failed