use mongoose.connection instead of mongoose.connections
newrelic support