Fix possible crash issue when unregistering receiver
Improve detection of busybox binary when killing logger