Increment input_id after each request to avoid race conditions in the server