Closed Listener at program exit