using var instead of hardcoded value

Using hardcoded value bad when you have more than 1 hook server working on different ports. Killing by name kills every instance.