lame retry handling on trying to parse json responses