Closing JPA transaction in finally clause in case an exception is thrown.