Curl_lwt: actually set error_buffer when finished