bugfix: new threads no longer inherit current transaction from parent thread