Added timeout of 3 seconds when checking if json modified