Exception handling when removing a force-closed connection