sleep in 1 sec increments while waiting for sync process to finish.