diff --git a/neo/client/app.py b/neo/client/app.py
index 4f0e0961726e3db95b0508c3a314b18a1dad3ebd..3203325474e7ee8c413dc93c680d47e63a00a238 100644
--- a/neo/client/app.py
+++ b/neo/client/app.py
@@ -576,8 +576,9 @@ class Application(object):
         # Store data on each node
         self.local_var.object_stored_counter_dict[oid] = 0
         self.local_var.object_serial_dict[oid] = (serial, version)
+        getConnForCell = self.cp.getConnForCell
         for cell in cell_list:
-            conn = self.cp.getConnForCell(cell)
+            conn = getConnForCell(cell)
             if conn is None:
                 continue
             try: