Fix some error logs generated by `systemctl stop emqx` command. Prior to the fix, the command was not stopping jq and os_mon applications properly.