Revert "Allow PoolManager to incorrectly resume a task from within a task"

This reverts commit 0888ae9950730a771a8c3125599769c6ed051884.
Warn for nested task resumption in debug mode