Fixed remove_on_fail implementation

We need to clone session to be sure that the session will be used only
in one transaction simultaneously

According to https://github.com/reverbrain/elliptics/issues/526