Do not die on client errors.

Fixes #24.