add stop protocol for the example.