def close_remote_objects(self):
    'Close all remote objects.'
    for job in self.jobs:
        if (not self.needrun(job)):
            job.close_remote()
Close all remote objects.
def close_remote_objects(self):
    
    for job in self.jobs:
        if (not self.needrun(job)):
            job.close_remote()