Good catch. How about the following:

for (Request request : requests) {
  if (request.request.slave.names.equals(name)) {
   LOGGER.info("Removing enqueued mesos task " + name);
   requests.remove(request);
   return;
  }
 }

LOGGER.warning("Asked to kill unknown task " + name);