more robust network interaction: automatic retry