Add a way to register cleanup actions to the locked transport.