Use the --pidfile option, then you can stop it with
pkill -F /path/to/pidfile --signal SIGINT
But better is to create a service file for it to use with systemd, then you can use the system process control facilities.
https://manual.calibre-ebook.com/server.html