fix shouldFailBuild parameter of timeout