I spent a lot of time digging Google, the problem seems very hard to solve at its origin, but I
found this simple workaround: without any further arguments, the cache:clear command also tries
to warm-up the cache and it seems that causes the problem.

By splitting the two operations, everything worked (at least for me!).