optimizing jobs timeouts on clusters and