SERVER-6071 add sleep on connection failure to avoid spinning