o Minor changes:
   - If we fail to write a heartbeat message, schedule a retry for the minimum
     heartbeat interval number of seconds in the future. Fixes bug 19476.