Add support for quickly capturing waiting on tasks.