Only initialise threads if they aren't already initialised.