Avoiding blocking on async operations by providing sync counterparts.

Fixes #374
ok