waitTillDone is intended to give a task server bit of time to process the request and produce response as it is async operation and response handler is a callback object that will get the response as soon as it is ready or timeout if not received in the specified time.
HTH