added retry on failure to client upload