clean up interfaces on exit