Is CreateFunction being used (on any thread) when the exception is thrown?