Move sleep time to var.