java threads only retain their custom name during the run method