DBusConnection should be initialized to NULL
cleanup static analysis problems and bugs