Stop serving the :attr:`.Server.sockets` and close all
        concurrent connections.

def close(self):
        """Stop serving the :attr:`.Server.sockets` and close all
        concurrent connections.
        """
        transports, self.transports = self.transports, []
        for transport in transports:
            transport.close()