Capitalized flush method
Declared client synchronisation flush as long running thread