<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clear_message_streams(self):
 """ Resets streams and sockets of incoming messages. You can use this method to reuse the same connections for several consecutive test cases. """

        for client in self._clients:
            client.empty()
        for server in self._servers:
            server.empty()