add osx fix for zombie threads