balancing thread pool. Needs more work