<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unregister_all(self):
 """Safely unregisters all active instances. Errors occurred here will be recorded but not raised. """

        aliases = list(self._service_objects.keys())
        for alias in aliases:
            self.unregister(alias)