Added delay for turning off