Committing the final changes of the application before exception handling.