[WO-265] handle offline mode in rest dao