Clean and change handler from success to complete.