Shutdown threads on exit.
CreatePerson initialRoles parameter now accepts resource limited roles, ie "Manager,Administrator,Organisation:Org:23"