Fix by scoping the lock in AsynchronousTaskManager::finalize different.

Signed-off-by: IUnknown68 <arne@salsitasoft.com>
Finished feature 57317664/service-throws-heap.