Fix socket cleanup

Didn't catch this instance of rename