fix #4568: GC not called for synced lua