timeout support (work in progress)