[PATCH 30/30] staging: sync: Fix timeout = 0 wait behavior