[spotify] Extract exit request handling in its own function