Vagrant Freezes in 10 mins of Idle time (Shared folder hanged in VM)

Shared folder freezes in 10 mins of idle time and Vagrant is hanged.

Vagrant version

Vagrant version 2.2.19

Host operating system

MAC Monterey 12.2.1

Guest operating system

Ubuntu 18.04 and Ubuntu 20.04

Steps to Reproduce

  1. Vagrant up
  2. Vagrant ssh
  3. Go to shared folder (/var/www/)
  4. Keep monitor 10-15 mins.

I’m having the same issue.