Don't reconnect inspector if connection refused (#22625)
Don't reconnect inspector if connection refused (#22625)

Summary:
(Together with a pr to react-devtools) Fixes https://github.com/facebook/react-native/issues/21030

[iOS] [Fixed] - Fix infinite retry loop of inspector
Pull Request resolved: https://github.com/facebook/react-native/pull/22625

Differential Revision: D14169392

Pulled By: hramos

fbshipit-source-id: 2e301fd9d458598b62399fc61a9859ad29928483

myntra/react-native,myntra/react-native,facebook/react-native,pandiaraj44/react-native,exponentjs/react-native,pandiaraj44/react-native,facebook/react-native,myntra/react-native,exponent/react-native,hammerandchisel/react-native,facebook/react-native,exponentjs/react-native,javache/react-native,exponent/react-native,exponent/react-native,exponentjs/react-native,exponent/react-native,hammerandchisel/react-native,pandiaraj44/react-native,javache/react-native,facebook/react-native,exponentjs/react-native,facebook/react-native,janicduplessis/react-native,myntra/react-native,janicduplessis/react-native,arthuralee/react-native,myntra/react-native,hammerandchisel/react-native,pandiaraj44/react-native,javache/react-native,exponent/react-native,hoangpham95/react-native,facebook/react-native,javache/react-native,hammerandchisel/react-native,janicduplessis/react-native,pandiaraj44/react-native,exponentjs/react-native,myntra/react-native,hoangpham95/react-native,hoangpham95/react-native,javache/react-native,hammerandchisel/react-native,hammerandchisel/react-native,hoangpham95/react-native,janicduplessis/react-native,pandiaraj44/react-native,javache/react-native,arthuralee/react-native,exponentjs/react-native,arthuralee/react-native,arthuralee/react-native,facebook/react-native,hammerandchisel/react-native,javache/react-native,hoangpham95/react-native,janicduplessis/react-native,hoangpham95/react-native,hoangpham95/react-native,exponent/react-native,exponent/react-native,hoangpham95/react-native,javache/react-native,myntra/react-native,arthuralee/react-native,facebook/react-native,myntra/react-native,facebook/react-native,pandiaraj44/react-native,janicduplessis/react-native,exponentjs/react-native,exponentjs/react-native,exponent/react-native,janicduplessis/react-native,pandiaraj44/react-native,javache/react-native,hammerandchisel/react-native,janicduplessis/react-native,myntra/react-native