Update index.js

Connection maxRetries