Fix error: can't call dbus_connection_close on shared connection