fix another threading issue and bump pom version