GDBusProxy: Check if connection is NULL before unreffing