Replace busy wait with monitor check

My dumbass coded the kill + busy wait loop for no good reason. Setting
up a monitor, killing the process and waiting for the 'DOWN' message is
the obvious elegant Erlangy way to kill and wait for a process to die.