@classmethod
def disconnect(cls, name=None):
    """
        remove a connection by name.
        If no name is passed in, it assumes default.

        Useful for testing.

        :param name:
        :return:
        """
    try:
        del cls.connections[name]
    except KeyError:
        pass
