def reset(cls):
    """
        Reset the instance of the singleton
        Call close on the instance
        """
    if cls.__dict__.get('__it__') is not None:
        it = cls.__it__
        cls.__it__ = None
        it.close()
