Add check for sync state. purge_mysql is no by default...