Fixes: Fix multiple bugs related to threadpool cleanup groups and cancel callbacks