title: typeorm createConnection return Pending even with Await on MacOS with PG
body: <p>MacOS Catalina 10.15.4</p>
  
  <p>How to reproduce, simply install using quick guide</p>
  
  <pre><code>npm install typeorm --save
  npm install reflect-metadata --save
  npm install @types/node --save
  npm install pg --save
  npm install typeorm -g
  typeorm init --name MyProject --database postgres
  cd MyProject
  npm install
  npm start
  </code></pre>
  
  <p>It will simply return</p>
  
  <pre><code>➜  MyProject npm start
  
  &gt; MyProject@0.0.1 start /Users/sergecolle/work/eve/MyProject
  &gt; ts-node src/index.ts
  </code></pre>
  
  <p>When troubleshooting I found that neither the code in then and catch got executed. After modifying the code, to something like</p>
  
  <pre><code>const connection:Connection = await createConnection()
  </code></pre>
  
  <p>the connection will be in state Pending and then the program simply skip then and catch and terminate.</p>
  
  <p>I have ask a friend to try it on his mac and he get the same issue.</p>
  
  <p>there the package.json generated by the typeorm install</p>
  
  <pre><code>   "name": "MyProject",
     "version": "0.0.1",
     "description": "Awesome project developed with TypeORM.",
     "devDependencies": {
        "ts-node": "3.3.0",
        "@types/node": "^8.0.29",
        "typescript": "3.3.3333"
     },
     "dependencies": {
        "typeorm": "0.2.25",
        "reflect-metadata": "^0.1.10",
        "pg": "^7.3.0",
        "express": "^4.15.4",
        "body-parser": "^1.18.1"
     },
     "scripts": {
        "start": "ts-node src/index.ts"
     }
  </code></pre>
  
  <p>and the ormconfig.json</p>
  
  <pre><code>{
     "type": "postgres",
     "host": "localhost",
     "port": 5432,
     "username": "test",
     "password": "test",
     "database": "test",
     "synchronize": true,
     "logging": false,
     "entities": [
        "src/entity/**/*.ts"
     ],
     "migrations": [
        "src/migration/**/*.ts"
     ],
     "subscribers": [
        "src/subscriber/**/*.ts"
     ],
     "cli": {
        "entitiesDir": "src/entity",
        "migrationsDir": "src/migration",
        "subscribersDir": "src/subscriber"
     }
  }
  </code></pre>
  
  <p>and made sure a postgres db with those credential existed using the psql command.</p>
  
  <p>The tsconfig.json generated</p>
  
  <pre><code>{
     "compilerOptions": {
        "lib": [
           "es5",
           "es6"
        ],
        "target": "es5",
        "module": "commonjs",
        "moduleResolution": "node",
        "outDir": "./build",
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "sourceMap": true
     }
  }
  </code></pre>
  
  <p>The lib and target seem a little old to support async/await. I tried updating it to es2017, es2018, and esnext but no luck</p>