removed malfunctioning ifdef
Added output to see where tests break
attempt at passing final tests, does not run correctly
program runs correctly again, sockets no longer written to after they are closed