Making `wait` method of Driver/Session return condition at method exit.

Needed for https://github.com/Behat/Mink/issues/301.