add smart_kill.pl

auto kill process if binary updated