Perform cleanup on set driver

def dispose():
    """
    Perform cleanup on set driver
    """
    if _driver:
        log.msg_debug("[{driver}] dispose".format(driver=_driver.get_name()))
        _driver.dispose()