Clean-up listener thread properly