Put in a timeout method and a primitive loop method
Updated json package information