(in tests) if the upload gives an error, don't try to wait_for it