Handle incoming chat and stop handling messages after disconnect.
Allow jar shading with 'shadowJar' task