[general] Allow default wait_for interval to be overriden globally.

Allow overriding wait_for interval globally the same way as timeout.