When clicking the cancel button after you die and clicked on a bag, you are disconnected from the server.
I think a proper behaviour for that button is to go back to the map and bag selection. Even that make your bag on timer, its better than you to disconnect from server.