jabber: use mutex to protect call to gnutls_global_init in disconnect
core: send plugin unloaded signal without holding mutex