Shouldn't you increase request_id here as well?