def finalize_wrapper(finalizable):
    """
    Wrapper around the finalize method for the object
    :param finalizable: an object with the finalize method
    :return:
    """
    finalizable.finalize()
    return finalizable
