it also gets us notification of when the connection was lost. the alternative being to keep the connection open until the next time we try to send (which may be never in some future use cases)