S-Store client bug fixes.

Fixed bug where S-Store client fails to recover from a broken pipe error state.

Also changed the default behavior to disconnect after running a REST call,
until the S-Store side can handle multiple concurrent connections properly.