The backtraces in bug https://bugs.kde.org/show_bug.cgi?id=387177 appear to show a crash as a result of accessing the main window's status bar during destruction, with running Akonadi jobs being killed and trying to show a status message. By this time, the status bar has already been destroyed.
This change disconnects the broadcast status message signal from the status bar before it is destroyed.