Added sleep for the goroutine in lights