ran into max thread count errors