Free Redis replies

In the case where Redis responded but the response was not a match for
the function, the reply object was not freed. This commit ensures that
the reply object is freed as long as it is present regardless of the
response.