def no_except_close(closable):
    """Attempts to call the close method of the
    supplied object.

    :param closable: The object to be closed
    :rtype: None
    """
    if not closable:
        return
    try:
        closable.close()
    except Exception:
        pass
    try:
        release_conn = getattr(closable, 'release_conn', None)
        if release_conn is not None:
            release_conn()
    except Exception:
        pass
