add leela_server_close