i had my inventory screen set to Tab, because thats always where my inventory is.
turns out that holding Tab to exit an enviroment while having the inventory set to Tab as well causes an infinite loadingscreen.
inventory set back to I, no more infinite loadingscreens.