Refactor nativeConnection->mongooseConnection