}
public boolean wasInterrupted() {
for ( int i = 0; i < remoteTokens.length; ++i ) {
int remoteToken = remoteTokens[ i ];
BrowserManager mgr = browserManagers[ i ];
if (remoteToken > 0) {
try {
mgr.keepAlive(remoteToken, PING_KEEPALIVE_MS);
} catch (Exception e) {
// TODO(tobyr): We're failing on the first exception, rather than
// collecting them, but that's probably OK for now.
shell.getTopLogger().log(TreeLogger.WARN,
"Unexpected exception keeping remote browser alive", e);