Removed Sleep so this thread dies. In java a program continues execution if at least one non-daemon thread runs