text-based mount.nfs: add function to do foreground retries