VAADIN 8 -- SERVER CONNECTION LOST

We are experiencing the exact same issues.Getting SERVER CONNECTION LOST at trivial tasks and after that is freezing the user session. We have taught by extending the heartbeat will solve the problem, but it did not.
Can you give some insight on this ?
We are using vaadin8.4.2.

https://vaadin.com/docs/v8/framework/application/application-lifecycle.html#application.lifecycle.ui-expiration