This reaches pretty far into the internals of the redis client; is there a better way of detecting which side of the fork the redis client belongs to?