<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reconnect_all(self):
 """ Re-establish connection to all instances """

        for role in self.Instances.keys():
            for connection in self.Instances[role]:
                connection.reconnect()