Merge pull request #1 from kubo39/patch-1

fix nn_shutdown function
Merge branch 'master' into pytest