Fix the listeners closing process

No match.