ENH: Make timeout values adjustable.