<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def disconnect_all(self, message=""):
 """Disconnects all connections."""

        with self.mutex:
            for conn in self.connections:
                conn.disconnect(message)