Refine the flow of IPCHandling.