Add missing sleep

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 22da47087b0ed67bb8bf30b92b1199cc67898150)