setting timeouts for service restart