DB does no longer pulse when the disconnect error dialog pops .. this is the reason why DB itself fails to close this error message so the way you try to close the error dialog is not working cause you only use the onpulse stuff to check of the error