Fixed async problems with Mono unit tests.