plugin loader, graceful shutdown!