WFCORE-449 Update to reverse calling the setupActions teardown
Merge pull request #380 from zhfeng/WFCORE-449

WFCORE-449 Update to reverse calling the setupActions teardown