Vaadin 7 - is there a way to change heartbeat per vaadin session and dynami

We use a very short heartbeat (5 seconds) because we block multiple applications in a way that all other open applications will show blocking window with “Application already open in another window, if it isn’t, please way could of seconds and reload”. That works fine, but the problem is, during the initial UI creation, it can take longer than that and vaadin will timeout. Is there a way to set up higher heartbeat by default but then once the UI is created and loaded, set it back to short amount?