Fix performance of snowplow in onbeforeunload

It seems that our current setup of snowplow needs almost 500ms when unloading the current page before actually navigating to the next one.

Bildschirmfoto_2020-10-13_um_21.24.06