Fix minor bug in adjustable timeout.