See T376099: --timeout flag for mwscript-k8s for a similar feature request in a different Kubernetes environment. Here a timeout option using activeDeadlineSeconds in Kubernetes was implemented. That option is currently missing in Toolforge job submission.
I used to use this a lot on the grid to automatically have jobs killed that got stuck. Having this option in the job submission would make that possible again.