clocksync: Fix deadlock because of taken stream lock on flush-start
Deadlock happens when streaming thread is already blocked by downstream and clocksync is trying to take stream lock on flush-start.
Deadlock happens when streaming thread is already blocked by downstream and clocksync is trying to take stream lock on flush-start.