sync: change wait timeout to mirror poll semantics

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: Ib38e6d339d41885a33027752690d65a52b6897f6