setting has_tl flag on closure-info correctly