Release GIL for transform functions.