java: Allow CanceledException in the testTimeout

According to ashankar@, when a host has more than one address a
CanceledException is actually a valid outcome when using a timeout.

Change-Id: Icaf03cb922bc04646a4618d95346143e974f391e
1 file changed