dotcase: ensure ringing quits if the device is not actually ringing

Change-Id: I8db70d2d4caadc7717b177ab2e9e1c0c151a5cec