Incorrect connection cleanup
If you fail to clean up connections properly, you can end up with functions taking a lot longer than they otherwise should. For example, serverless code functions will have to wait until the connections become inactive (the default is around ~10 seconds, but depends on the specific database and connector driver) before it can close the connection pool.