fix thread lookup (i.e. fix the whole park/unpark thing)