reset plugin connection when stopped