Fixed Thread usage, so the thread isn't instantly garbage collected; also changed port as there seems to be an issue using 8082. Now it just works.