match timeout to calculating pid