correct error handling (rollback) in cacheProxy adapter. Made all adapters same api