Use ICAM-500 python SDK should turn off web service.
1.
Temporary stop web service.
$ sudo systemctl stop web.service
2.
Stop iCAM-500 web service persistently.
$ sudo systemctl stop web.service
$ sudo systemctl disable web.service
$ sudo systemctl disable autoui.service
3.1
Open/Close Camera Flow
ICAM-500 Programming Guide
8