How to close idle connections in PostgreSQL automatically? How to close idle connections in PostgreSQL automatically? postgresql postgresql