fix: cleanup on exit
fix: node export py api resolved