added cleanup method to unexport pins, using atexit