Close connection on class destruction
Check if connection exist before closing connection
Merge pull request #106 from odolbeau/close-phpredis-connection

Close connection on class destruction