Fixing thread initialisation call