[PATCH] add command ctl_wait for the controller