ensure stop logging in README code example