5.20.0 is about 5 years old. My Version is only 3 years old !
Run an update then try the re-install to force an update of Monit.
sudo apt-get update
sudo apt-get upgrade
Or uninstall it completely, then reinstall the latest version.
https://mmonit.com/monit/changes/
https://lindevs.com/install-monit-on-raspberry-pi/
Automatic restart
Re: Automatic restart
Raspi 4 - (Buster - 32 Bit) Zwave Version 4.1.1, Raz 7 Pro, Serial API Version: 07.38