#137 error out env->open when worker threads can not be created