fix recovery for tcp acceptor