Fixed exit from sync mode