Fix chainable command flow. Reset the command stack right after runClose has been called