Fix missing GIL unlock.