correctly handle connection failures
only commit release builds
v0.09_2

 - correctly handle connection failures