#vulnerable code 
                              @Override
  public void cleanUp() {
    for (PeerMessage.RequestMessage request : myRequests) {
      if (System.currentTimeMillis() - request.getSendTime() > MAX_REQUEST_TIMEOUT){
        send(request);
        request.renew();
      }
    }
  } 
                            #location 5 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                              @Override
  public void cleanUp() {
    // temporary ignore until I figure out how to handle this in more robust way.
/*
    for (PeerMessage.RequestMessage request : myRequests) {
      if (System.currentTimeMillis() - request.getSendTime() > MAX_REQUEST_TIMEOUT){
        send(request);
        request.renew();
      }
    }
*/
  }