1. Open host prototype edit page.
2. Lock PC
3. And leave it to go to sleep.
4. Probably turn off webserver. (in my case it could have been turned off due to virtual machine being unresponsive during sleep).
5. Turn everything on and observe an error in browser console.