Added synchronization to getInstance() method of the PluginLoader