check for daemon pid existence before trying to connect to the control socket, and...