Write transactions resolve when transaction is completed instead of request success (see http://www.w3.org/TR/IndexedDB/#widl-IDBTransaction-oncomplete)