I started the monero daemon with the this command.
monerod --rpc-bind-ip 127.0.0.1 --detach --restricted-rpc --prune-blockchain --block-notify /bin/bash/home/user/nodejs-pool/block_notify.sh
When I am going to kill it, it shows me Error: Daemon did not stop-- rpc_request: