Fix accepts.

Sockets were being prematurely closed.