add a time limit to cloud-init