bugfix: close when hangup