"Marcus Andree S. Magalhaes" <marcus(dot)magalhaes(at)vlinfo(dot)com(dot)br> writes:
> We have a java program scheduled to run a few times in an hour and
> the server backend keeps running when the java program exits.
That means you're not closing the connection. Fix your client.
regards, tom lane