[fix] Fixed typo to ensure all producers are removed on the client's close.