Fix a use-after-free bug in para_server.