Added shutdown functions for plugins langs
Free plugins on shutdown