test destroy with no sockets