Avoid “thread already started” exception in publish()

This is based on 2.1.1 of logentries.  They don't tag their versions, but it was clear from their relatively few commits where 2.1.1 came from in the repo.  Note that they never put "2.1.1" in the pom.xml (it's like they forgot: they went from 2.1.0 to 2.1.2), so I did for purposes of this special branch.