use pipe for ctrl queue, and fix error report on connect failed