Fixing synchronisation for Cassandra initialisation.