Postgres connection: limit user/pw queries to 5 (avoids blocking server instances if a db does not exist anymore)