Add example of wait_completed