* Move jThread into its own function