release the map on nextTick if there was an error to match the non-error case