Update memoryleaks examples with new listen behaviour [skip ci]