cancel timeout when save fails & reset save button