Remove new line.
Change the logic of ctlconn fd checks.