fix race condition, catch failures, and bump to 0.1.9