clear socket queue