If you receive a failure HTTP response code such as a network error, there's no way to tell if the streaming insert succeeded.
If you try to simply re-send the request, you might end up with duplicated rows in your table.
To help protect your table against duplication, set the insertId property when sending your request.
BigQuery uses the insertId property for de-duplication.
Hope this helps!