made the timeout manager more configurable