process ends properly after message. spawn n processes instead of n+1.