fragments: waiting api refactored

* renamed methods and attributes for setting and getting the timeout
* timeout set only in the wrappers