Adding wait instruction