don't close sockets while testing

This was causing terrible errors