SERVER-13972 Make connections_opened.js test retry any connections that fail to connect
(cherry picked from commit b64939f3ac16843525adf6f0e893a78409ddaf16)