Fix bug with re-arming timer for write timeouts.