refactor tcp rst probe to template method