Fix #238 - Used CopyOnWriteArrayList instead of ArrayList.