Improved autocommit managed state dection