Graceful stop plugins if SIGTERM/SIGINT received