Test stack behavior of pollForWork
pollForWork is natively tailrecursive