Memory leak when custom commands are used in redis plugin