dialog: if sending BYE fails at timeout, unref dialog

- destroy dialog structures