Fix an unclosed handle.