Fix "finally" block to propagate exceptions thrown inside