Fixed bug where an error in qt dispatch left the corresponding signal permanently disconnected