Added sleep 0.1 to wait for the previous process to fully finish else umount will fail with busy file system on some systems.