Modify reset to do it asynchronously