Minor fix
Drop subtty listener feature
Fix a reference error when finalizing