use defer to close the socket
use pool to get connection for publish command. return err
change old storage tests to be Memory Storage tests only
added tests for redis store
moved store_test to memory_store_test