Revert "poolmanager: Get rid of ThreadPool interface"

This reverts commit d06eb680ecb31c79edca2889724824b9aeccc7ca.