I had some yellow jackets make a nest within a railroad tie as well. I emptied a can of hornet kill into the nest then place a brick over the hole. The next day I emptied another can into it. A few stragglers came buzzing around the nest over the next couple days, but smelled the holocaust and left.