Proxy stop listening after timeout

Hi
Currently we are running 3 stolon clusters in kubernetes( each cluster have 2 keepers, 2 proxy and 2 sentinels) .when we run perf testing , it will print some errors like below. is this because of api server response slow? we even tried to increase the timeout to 30s ,but it still have error . is there any way to fix these errors?

2021-03-15T19:13:37.293-0700	INFO	cmd/proxy.go:268	master address	{"address": "10.234.2.21:5432"}
2021-03-15T19:13:37.355-0700	INFO	cmd/proxy.go:286	proxying to master address	{"address": "10.234.2.21:5432"}
2021-03-15T19:13:52.403-0700	INFO	cmd/proxy.go:304	check timeout timer fired
2021-03-15T19:13:52.403-0700	INFO	cmd/proxy.go:158	Stopping listening
2021-03-15T19:13:52.515-0700	INFO	cmd/proxy.go:124	Starting proxying

2021-03-15T19:13:58.752-0700 INFO cmd/proxy.go:346 check function error {"error": "cannot get cluster data: failed to get latest version of configmap: Get \"https://10.233.0.1:443/api/v1/namespaces/mkcms/configmaps/stolon-cluster-workflowdb?timeout=15s\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)"}

and our application will have a lot of error releated to the databases.

ARJUNA016039: onePhaseCommit on < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0aea045e:1f9bc745:604d6492:4e9dd45, node_name=1, branch_uid=0:ffff0aea045e:1f9bc745:604d6492:4e9dd4a, subordinatenodename=null, eis_name=java:/neptune/datasource > (LocalXAResourceImpl@462b648a[connectionListener=7166eb1 connectionManager=4c28a5f warned=false currentXid=null productName=PostgreSQL productVersion=12.3 (Debian 12.3-1.pgdg100+1) jndiName=java:/neptune/datasource]) failed with exception XAException.XA_RBROLLBACK: org.jboss.jca.core.spi.transaction.local.LocalXAException: IJ001156: Could not commit local transaction
Caused by: java.io.EOFException
at org.postgresql.core.PGStream.receiveChar(PGStream.java:295)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1947)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)
… 81 more

I have a similar question:

What happens after check timeout timer fired + Stopping listening occurred, should the proxy ever reconnect/recover? If yes, does that depend on what --stop-listening is set to?

Update: https://github.com/sorintlab/stolon/issues/859#issuecomment-1507211938