Add on error listener for the nodejs 8.20 support

This is same as 
https://github.com/visionmedia/connect-redis/issues/71