added timeout to timelapse