add dead connection monitor and no-such-command sulution