Redis connection keeps on increasing how to limit that

Hello All,

I want to limit the connection as it is continuously increasing even if i set max connection as 20 but it shows client connected : 51.