Fixing the pidfile and named pipe connection