=?UTF-8?Q?Grzegorz_Ja=C5=9Bkiewicz?= <gryzman@gmail.com> writes:
> is there any potential idle connection timeout on server side ?
No.
You might be getting bit by an idle timeout somewhere else, such as
in a NAT router between the client and server.
regards, tom lane