Test cleanup

Be pedantic about over zealous GC and sockets.