log exceptions in tasks, I don't understand why all these "connection already closed" appear everywhere.

Cf. http://dev.1flow.net/development/1flow-dev/group/48724/ and a lot more of the same type.
flake8.
Remove an atomic() block in an attempt to debug the celery crash.