I assume you use declarative pipeline and have this in the global options.
you should use the timeout then not as a global option but maybe only on a specific stage
pipeline {
stages {
stage('') {
steps {
// One or more steps need to be included within the steps block.
}
options {
timeout(30)
}
}
}
}