Adds goodbye message and LWT publication