[client][managed][offline] Improved handling for timeout errors for insert and update operation