Added exit and wait demos