Guarantee destruction of TcpAcceptor before creating new one.

Fixes gh-1