Fix send_errors during registration to close #547.