added gpio cleanup when programm exits