Fix for the issue in issue #108 where it's ignoring the exception and starting the replication anyway.