In execute_server(), the serial is used only once. Moreover, it can be retrieved from the `params` argument directly.