[ongoing]fix fatal error when hangup