Added timeout, and a constructor for the timeout
Added timeout, and a constructor for the timeout, secind file