Added the property keepalive: true to disable the default browser timeout.
keepalive: true
So, the entire function is:
await fetch('https://crossorigin.me/https://www.metaweather.com/api/location/2487956/', { keepalive: true } );