explicitly shuts down dnp3 on window closing