Don't close data sockets prematurely