Detect failed connection attempts very early.
Fix client memory errors.