fix(serving): move defer to after error check (#4862)
fix(serving): move defer to after error check (#4862)


kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe