Pass conn to _is_closed().