Just a little refactoring for the busy timeout stuff.