Email Settings are not working for outgoing email

I had a timed out lock for FETCH_HEAD that was preventing emails from being processed. What could have caused this timed out lock?

I deleted the file directly from frappe-bench/your-site-name/lock/ since rebooting and restarting didn’t do it for me.