removed _running from socket classes