Allow timeout duration to be specified or disabled