[FIXED JENKINS-22400] option to set submodules update timeout

Cherry pick from 7dab96f8b5b1ea95e3a92123e6424376d7fa1036