code: def retry_on_network_error(function, *args, **kwargs):
      return function(*args, **kwargs)
  
imports: import socket
  import multiprocessing
  import retrying
  from six.moves import xmlrpc_client
  import pyalgotrade.logger
  from pyalgotrade import barfeed
  from pyalgotrade.optimizer import serialization
label_desc: Use image node_id 2 for calling a global function with example usage: retry_on_network_error(function) and returns: function