proto-shell: ensure that the teardown timeout gets killed