plugins: avoid DiskIO deadlock on quit

Signed-off-by: Tim Blechmann <tim@klingt.org>
scapp: add includes for gLangMutex

Signed-off-by: Tim Blechmann <tim@klingt.org>