Added support to pause failed test (-DpauseFailedTest=true)