add sleep to allow time for disk to be unmounted