fixup : cleanup_on_failure need to store a method as first argument, avo...

...id bad exception on http_post_collertion() failure

Signed-off-by: Nicolas PLANEL <nicolas.planel@enovance.com>