    cp 15MB $mountpoint/$projName/$writeable_dir &
    $dxfuse -sync &
    SYNC_PID=$!
    sleep 1
    # Additional sync commands fail until the above sync completes
    sync_output=$($dxfuse -sync 2>&1)

    if echo "$sync_output" | grep -q "another sync operation is already running"; then
        wait $SYNC_PID