marking stop() method of the Client as virtual