#45 thread leak solved