Add stop function to sample. Update Readme.