Fixbug #5: CPU spikes to 100% after the first command sent to redis

This PR is a fix for #5