Delete widget connections when the widget is deleted.