more cleanup

remove use of CallNamedPipe for a hand crafted one to avoid
impersonation issue.

Remove if() check on ConnectNamedPipe since it can return false in
normal operating conditions.