v0.5.1

Better error and timeout handling.