Added code to join threads after creation for TASLock