Added a timeout so it doesnt run forever. Added a timestamp on the
sample start