Corrected an LPC bug when terminating a process with threads waiting for LPC messages svn path=/trunk/; revision=1479