added stub for removeSockets