Now taking parameter timeout into account. Default 600 seconds.