fixed segfault on shutdown
Merge branch 'master' of https://github.com/Wolframe/wolfclient