Additional work on the thread pool. Still trying to reduce cpu usage
Applied tempoary fix for high cpu load