Add "sync" call to run-piglit