Describe the bug
There is a bug in pool when connection cannot be established at pool start.
This bug will bite when you wish close the connection
To Reproduce
Steps to reproduce the behavior:
- Start your deno server
- Start your pool
- Try to connect
- Exception happen (good)
- Start database
- Try to connect
- Do insert (OK, commited)
- Release pool client, then
8.5. Exception happens.
- but query succeeds
Expected behavior
No exception
This bug is not observed when database connection is ready at start