Passing a timer handle between rules and functions

The problem is that you get a Python timer if it’s in the local scope, but a Java thread if it’s global. See these topics for investigations and experiments we’ve already done: