Cache invalidation does not work after a disconnection to the database
In case there is a disconnection to the database, trytond
will be able to reconnect and will keep working. But the thread used to synchronize the cache won't survive, the thread will be restarted later but it might have missed some message.
So we must clear the caches right after the LISTEN
call.