Verified that issue #106 is fixed in threading2 branch. Closes #106.