Socket server stop merged with server start