v0.5.2

Add sync mechanism, for async flow control.