fix log shipper: lost logs when redis broken or switching to latest log file without shipping logs completely