Bug fixes in the subscribing mode.

Thanks doujiang for the patch in #38.

* bugfix: the unsubscribe/subscribe commands could not be called after read_reply() returned "timeout".
* bugfix: we incorrectly allowed reusing redis connections in the subscribed state.