Possible solution: 1. Remove the cancel feature/button. 2. Find a way to disconnect the socket in the frontend.