implements await for list_datastores result.
add error check.