Cleaning commit status in the middle of the work