Use call_user_func in waitUntil to run a callback

This allows methods as callback. Since the argument is checked by is_callable which allows array($object, $method) style callbacks.