Addded public await method to AsyncTas to allow calling thread to wait
until task to compleated.