Made params and status storage threadsafe.