Small fix on HANGUP handling