trying to close sockets when incoming data too large