use tail PID to kill

kill takes PID as argument, if it is not correct it will kill docker deamon