Actually release the GIL when calling tgen (oops)