Attempt to fix ConcurrentModificationException due to multi-threaded when classes are unloaded by Bukkit