Added checkin index and delete when the function cannot complete
Added checkin index and delete when the function cannot complete

Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand