because if the pluginscleanup is done before the server destroy event, then its just dead code that never gets executed