Disabled threading to fix issues

Need to look into proper threading