socketservice: minor cleanup