Correctly disconnect handlers taskbar_button_{enter,leave} when destroying Task.