Fixes for reconnect issue with single primary, secondary and arbiter