Updated ThreadPool error handling.

Updated AsyncOperation and AsyncAction unit tests.