sync instead of sleep, also fix GPARTS