Checking the connection before attempting rollback allows for validating the log file while not connected.
Merge pull request #86 from skelter/offline-validation

Checking the connection before attempting rollback