copy timeouts to avoid in place modification while iterating

Fixes #160