class Faraday::Response

def marshal_dump

because @on_complete_callbacks cannot be marshalled
def marshal_dump
  finished? ? to_hash : nil
end