Fixed reading being sent upon error.