Make ThreadJoiner non copyable and non assignable.