Moving to processes instead of threads